<template>
  <div>
    <el-container style="height: 800px;">
      <el-aside width="250px">
        <el-col :span="24">
          <h4
            style="
              background-color: #62abf7;
              height: 50px;
              color: white;
              line-height: 50px;
            "
          >
            <i class="el-icon-office-building" style="margin-right: 5px"></i
            >智伟找房
          </h4>
          <el-menu
            default-active="/first"
            class="el-menu-vertical-demo"
            background-color="#1b263a"
            text-color="white"
            active-text-color="#62abf7"
            router
            style="height: 740px;"
          >
            <el-menu-item index="/first">
              <i class="el-icon-menu"></i>
              <span slot="title">首页</span>
            </el-menu-item>
            <el-menu-item index="/floor">
              <i class="el-icon-menu"></i>
              <span slot="title">楼盘列表</span>
            </el-menu-item>
            <el-menu-item index="3">
              <i class="el-icon-document"></i>
              <span slot="title">活动列表页</span>
            </el-menu-item>
            <el-menu-item index="4">
              <i class="el-icon-setting"></i>
              <span slot="title">客户管理</span>
            </el-menu-item>
            <el-menu-item index="5">
              <i class="el-icon-setting"></i>

              <span slot="title">房屋认购管理</span>
            </el-menu-item>
          </el-menu>
        </el-col>
      </el-aside>
      <el-container>
        <el-header>
          <div style="display: flex;justify-content: space-between ;">
            <div class="size-icon">
              <i class="el-icon-s-unfold"></i>
            </div>
            <div>亲，欢迎您  |  退出</div>
          </div>
        </el-header>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
export default {};
</script>

<style>
* {
  margin: 0;
  padding: 0;
}
.el-header,
.el-footer {
  background-color: #b3c0d1;
  color: #333;
  /* text-align: center; */
  line-height: 60px;
}
.size-icon {
  width: 30px;
  height: 30px;
  font-size: 30px;
}
.el-aside {
  background-color: #d3dce6;
  color: #333;
  text-align: center;
  /* line-height: 200px; */
}

.el-main {
  background-color: #e9eef3;
  color: #333;
  /* text-align: center; */
  /* line-height: 160px; */
}

body > .el-container {
  margin-bottom: 40px;
}
</style>